package com.lyh.system.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lyh.common.annotation.Excel;
import com.lyh.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 sys_relation_value
 *
 * @author ruoyi
 * @date 2023-04-26
 */
@Data
public class SysRelationValue
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @TableId
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    /** 业务表 */
    @Excel(name = "业务表")
    private String businessId;

    /** 值 */
    @Excel(name = "值")
    @ApiModelProperty(example = "值")
    private String value;

    /** 键 */
    @Excel(name = "键")
    @ApiModelProperty(example = "键")
    private String label;

    @ApiModelProperty(example = "code")
    private String code;


    @ApiModelProperty(example = "轮播图位置")
    @TableField(exist = false)
    private Integer sortNum = 0;


}
